package stylistcrm.core.services.order.dto;

import java.io.Serializable;

public class OrderByDto implements Serializable{

	private String orderName;
	
	private EnumOrderByType orderType;
	
	public String getOrderName() {
		return orderName;
	}

	public void setOrderName(String orderName) {
		this.orderName = orderName;
	}

	public EnumOrderByType getOrderType() {
		return orderType;
	}

	public void setOrderType(EnumOrderByType orderType) {
		this.orderType = orderType;
	}

	public enum EnumOrderByType{
		DESC("desc"),ASC("asc");
		
		private String code;
		
		private EnumOrderByType(String code){
			this.code=code;
		}
		public String code(){
			return code;
		}
	}
}
